import * as actionTypes from './actionTypes';

export const getList = () => ({
    type: actionTypes.GETLIST,
});

export const searchFocus = () => ({
    type: actionTypes.SEARCH_FOCUS
});
export const searchBlur = () => ({
    type: actionTypes.SEARCH_BLUR
});
export const mouseEnter = () => ({
    type: actionTypes.MOUSE_ENTER
});
export const mouseLeave = () => ({
    type: actionTypes.MOUSE_LEAVE
});

export const changePage = (page:number) =>({
    type: actionTypes.CHANGE_PAGE,
    page
});